package com.itzxx.huazhun.ui.testing

import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.chad.library.adapter4.BaseQuickAdapter
import com.itzxx.huazhun.databinding.ItemTestingBinding
import com.itzxx.huazhun.ui.testing.data.TestingBean

/**
 * Desc:
 *
 * Author: zhangxiaoxiao
 * Date: 2024/7/4 10:42
 * Copyright: Copyright (c) 2006-2024
 * Company: @海晟融创
 * Updater:
 * Update Time:
 * Update Comments:
 */
class TestingAdapter : BaseQuickAdapter<TestingBean, TestingAdapter.VH>() {

    // 自定义ViewHolder类
    class VH(
        parent: ViewGroup,
        val binding: ItemTestingBinding = ItemTestingBinding.inflate(LayoutInflater.from(parent.context), parent, false),
    ) : RecyclerView.ViewHolder(binding.root)

    override fun onCreateViewHolder(context: Context, parent: ViewGroup, viewType: Int): VH {
        // 返回一个 ViewHolder
        return VH(parent)
    }

    override fun onBindViewHolder(holder: VH, position: Int, item: TestingBean?) {


    }
}